package com.bw.mapper;

import com.bw.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    void updateAmountById(@Param("userId") Integer userIdA,@Param("amount") Integer amount);

    User selectByName(String name);

    List<User> listUser();
}
